/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.api.runtime.metadata.types;

import java.io.Serializable;
import java.util.HashMap;

/**
 *
 * @author oiprado
 */
public class ColumnsCollection extends HashMap<String, ColumnInfo> implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    public ColumnsCollection() {
        super();
    }

    public void put(String mapVal, String name, String code) {
        if (!containsKey(code)) {
            super.put(code, new ColumnInfo(mapVal, name, code));
        }
    }
}
